package com.erp.hibernate.beans;

/**
 * AbstractRoleEntity entity provides the base persistence definition of the
 * RoleEntity entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractRoleEntity implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer roleid;
	private Integer entityid;
	private Integer priviledge;

	// Constructors

	/** default constructor */
	public AbstractRoleEntity() {
	}

	/** minimal constructor */
	public AbstractRoleEntity(Integer roleid, Integer entityid) {
		this.roleid = roleid;
		this.entityid = entityid;
	}

	/** full constructor */
	public AbstractRoleEntity(Integer roleid, Integer entityid,
			Integer priviledge) {
		this.roleid = roleid;
		this.entityid = entityid;
		this.priviledge = priviledge;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getRoleid() {
		return this.roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}

	public Integer getEntityid() {
		return this.entityid;
	}

	public void setEntityid(Integer entityid) {
		this.entityid = entityid;
	}

	public Integer getPriviledge() {
		return this.priviledge;
	}

	public void setPriviledge(Integer priviledge) {
		this.priviledge = priviledge;
	}

}